package com.purchase.ml.resource.sys;

import com.purchase.ml.annotations.OperLog;
import com.purchase.ml.bean.base.ApiRestResult;
import com.purchase.ml.bean.req.sys.SysRoleEditDto;
import com.purchase.ml.bean.req.sys.SysRoleNewDto;
import com.purchase.ml.bean.req.sys.SysRoleQueryDto;
import com.purchase.ml.enums.RetStatusNum;
import com.purchase.ml.resource.BaseResource;
import com.purchase.ml.service.sys.ISysRoleService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;
import java.util.List;

/**
* <p>
    * 健康检查
    * </p>
*
* @author kyyang
* Created 2021-03-29
*/

@Api(tags = "健康检查")
@RestController
@RequestMapping("/health")
public class SysHealthResource extends BaseResource {
    @RequestMapping(method = RequestMethod.GET, path = "/check")
    @ApiOperation("健康检查")
    public String healthCheckQuery() {
        return "2021-05-18 10:10";
    }
}
